

package com.kimo.shop.common.response;

import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

@Data
public class WxLiveProdResponse<T> implements Serializable {


    private int errcode;

    private Integer total;

    private String msg;

    private T goods;

    private Long roomId;

    public boolean isSuccess(){
        return Objects.equals(ResponseCode.WX_SUCCESS, this.errcode);
    }


}
